/**
 * \file Projet.c
 * \brief Triangulation de Delaunay.
 * \author Rémi AUDUON - Florian LANCE
 * \version 1.0
 * \date 13 janvier 2012
 */

#include <stdio.h>
#include <stdlib.h>


#include <GL/glut.h>


void winInit(void);

void display(void);


/** implémentation de winInit(void)*/
void winInit(void)
{
    //gluOrtho2D(0.0, 200, 0.0, 200);
}

/** implémentation de display(void) */
void display(void)
{
    // affichage du résultat final de la triangulation
    glColor3f(0.0, 0.0, 0.0);
    glClear(GL_COLOR_BUFFER_BIT);

    glBegin(GL_POINTS);

    glEnd();

    glFlush();
}



/** fonction main */
int main(int argc, char **argv)
{
    printf("ici");
    glutInit(&argc, argv);
    glutInitDisplayMode(GLUT_SINGLE | GLUT_RGBA);

    glutInitWindowPosition(5,5);
    glutInitWindowSize(600,300);

    glutCreateWindow("My first OpenGL window...");

//    winInit();

//    glutDisplayFunc(display);
    glutMainLoop();

    return EXIT_SUCCESS;
}
